﻿using System;

namespace GetThis_Server
{
    /// <summary>
    /// Constants values.
    /// </summary>
    public static class Constants
    {
        /// <summary>
        /// <see cref="P:GetThis_Server.ApplicationParameters.LogLines" /> default value.
        /// </summary>
        public const int LogLinesDefaultValue = 500;

        /// <summary>
        /// <see cref="P:GetThis_Server.ApplicationParameters.DataPath" /> default value.
        /// </summary>
        public const string DataPathDefaultValue = @"Data.xml";

        /// <summary>
        /// <see cref="P:GetThis_Server.Users.Data.UserRow.Name" /> default value.
        /// </summary>
        public const string UserNameDefaultValue = "Name";

        /// <summary>
        /// <see cref="P:GetThis_Server.Users.Data.UserRow.Ip" /> default value.
        /// </summary>
        public const string UserIpDefaultValue = "Ip";

        /// <summary>
        /// <see cref="P:GetThis_Server.Users.Data.UserRow.Key" /> default value.
        /// </summary>
        public const string UserKeyDefaultValue = "Key";

        /// <summary>
        /// <see cref="P:GetThis_Server.Users.Data.UserRow.AuthorizationDuration" /> default value.
        /// </summary>
        public static TimeSpan UserAuthorizationDurationDefaultValue = new TimeSpan();

        /// <summary>
        /// <see cref="P:GetThis_Server.Users.Data.UserRow.BypassIp" /> default value.
        /// </summary>
        public const bool UserBypassIpDefaultValue = false;

        /// <summary>
        /// <see cref="P:GetThis_Server.Users.Data.UserRow.BypassKey" /> default value.
        /// </summary>
        public const bool UserBypassKeyDefaultValue = false;
    }
}
